
//
//  LXDSongModel.m
//  BLDMusics
//
//  Created by lxd on 16/3/18.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "LXDSongModel.h"

@implementation LXDSongModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"listen_count"]) {
        if ([value integerValue]  / 10000 > 0) {
            self.listen_count = [NSString stringWithFormat:@"💿%ld万", [value integerValue] / 10000];
        } else {
            self.listen_count = [NSString stringWithFormat:@"💿%@", value];
        }
    }
}


@end
